package com.github.permissiondog.cancanpandroid.repository.api.response;

import com.github.permissiondog.cancanpandroid.model.Application;
import com.github.permissiondog.cancanpandroid.model.ApplicationProgress;
import com.github.permissiondog.cancanpandroid.model.ApplicationStatus;
import com.github.permissiondog.cancanpandroid.model.Approver;
import com.github.permissiondog.cancanpandroid.model.TableTemplate;
import com.github.permissiondog.cancanpandroid.model.User;

import java.util.List;

public class ApplicationInfoResponse extends BaseResponse {
    public Application getApplication() {
        return application;
    }

    public void setApplication(Application application) {
        this.application = application;
    }

    public TableTemplate getTemplate() {
        return template;
    }

    public void setTemplate(TableTemplate template) {
        this.template = template;
    }

    public List<Approver> getApprovers() {
        return approvers;
    }

    public void setApprovers(List<Approver> approvers) {
        this.approvers = approvers;
    }

    public List<ApplicationProgress> getProgress() {
        return progress;
    }

    public void setProgress(List<ApplicationProgress> progress) {
        this.progress = progress;
    }

    public List<Question> getQuestions() {
        return questions;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }

    public ApplicationStatus getStatus() {
        return status;
    }

    public void setStatus(ApplicationStatus status) {
        this.status = status;
    }

    public boolean isClosed() {
        return closed;
    }

    public void setClosed(boolean closed) {
        this.closed = closed;
    }

    public User getApplicant() {
        return applicant;
    }

    public void setApplicant(User applicant) {
        this.applicant = applicant;
    }

    public boolean isCanApprove() {
        return canApprove;
    }

    public void setCanApprove(boolean canApprove) {
        this.canApprove = canApprove;
    }

    Application application;
    TableTemplate template;
    List<Approver> approvers;
    List<ApplicationProgress> progress;
    List<Question> questions;
    ApplicationStatus status;
    boolean closed;
    User applicant;
    boolean canApprove;
}
